package com.spsoft.core.model.leqidmz.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @description: 乐企接口【获取全电发票批量预赋码信息接口】 ，参数实体类
 * @author: liwm
 * @create: 2023-11-22 13:44
 **/
@ApiModel(value = "获取数电票批量预赋码信息")
@EqualsAndHashCode(callSuper = true)
@Data
public class AssignedCodeParams extends BaseNsrRequestParams implements Serializable {
    private static final long serialVersionUID = 1905122041950251207L;

    /**
     * 领用数量
     */
    @ApiModelProperty(value = "领用数量", required = true)
    @NotNull(message = "领用数量不能为空")
    private int lysl;

    /**
     * 业务流水号
     * 使用单位id+直连单位id+32位随机生成数
     */
    @ApiModelProperty(value = "业务流水号", required = true)
    @NotNull(message = "业务流水号不能为空")
    private String ywlsh;
}
